package com.sky.mapper;

import com.sky.entity.SetmealDish;
import com.sky.vo.SetmealVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    List<Long> getsetmealidbydishid(List<Long> ids);

    void insertBatch(List<SetmealDish> setmealDishes);

    void deletebyids(List<Long> ids);

    @Select("select * from setmeal_dish where setmeal_id=#{setmealid}")
    List<SetmealDish> getbysetmealid(Long setmealid);
}
